package com.jy.admin.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.jy.admin.db.dao.BogConfigDao;
import com.jy.admin.db.entity.BogConfigEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: anonymous
* Date: 2021-12-22
* Time: 15:06:33.841
*/

@Repository
public class BogConfigDaoImpl extends AbstractBaseMapper<BogConfigEntity> implements BogConfigDao {


    @Override
    public BogConfigEntity selectByFrom(String from) {
        Map<String,String> params = new HashMap<>();
        params.put("waFrom",from);
        return getSqlSession().selectOne(this.getStatement("selectByFrom"), params);
    }
}